<template>
  <div class="DiyShopmarket">
    <div class="header">
      <span>优选好店</span>
      <span class="fontColor">更多 〉</span>
    </div>
    <div class="title">
      <div class="img">
        <img src="../../../../assets/config_images/list1.png" alt="">
      </div>
      <div class="shopInfor">
        <div class="shopName">华莱士(炸鸡汉堡花港店)</div>
        <div class="Infor">★4.0 西式快餐丨德诚广场丨10.7km</div>
      </div>
      <div class="goShop">
        进店 〉
      </div>
    </div>
    <div class="sortFlex">
      <div class="listcon styleThree" v-for="(items, index) in 3" :key="index">
        <!-- 列表图片组件 -->
        <div class="ThreeImgStyle">
          <div class="label" >
            <img src="https://zltc-1255680458.cos.ap-beijing.myqcloud.com/1578388617.jpg" alt />
            <div class="leftBtm">月销:4578</div>
            <div class="rgtTop">7.7折</div>
          </div>
        </div>
        <!-- 标题 -->
        <div class="amendTitle">
          <span style="font-size:12px;">卡拉丁上门汽车保养服务奔驰宝马奥迪大众雪佛收到货付款接收到</span>
        </div>

        <!--列表价格组件-->
        <div class="amendPrice">
          <span class="font10">￥30</span>&nbsp;<s class="font8">￥60</s>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {

};
</script>

<style lang="scss" scoped>
.DiyShopmarket {
  font-size: 14px;
  color: #333333;
  padding: 0 10px;
  margin-bottom: 10px;
  .header {
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    .fontColor {
      font-size: 12px;
      color: #8C8C8C;
    }
  }
  .title {
    padding: 11px;
    height: 68px;
    text-align: center;
    line-height: 40px;
    background: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-image: url("../../../../assets/config_images/Group1.png");
    background-size: cover;
    display: flex;
    flex-direction: row;
    .img {
      width: 45px;
      height: 45px;
      margin-right: 10px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .shopInfor {
      text-align: left;
      color: #fff;
      line-height: 20px;
      .Infor {
        margin-top: 3px;
        font-size: 12px;
      }
    }
    .goShop {
      flex: 1;
      text-align: right;
      color: #fff;
    }
  }
  .sortFlex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    .listcon {
      width: 100%;
      // height: 100%;
      position: relative;
      // background: #ffffff;
    }
    .styleThree {
      width: 33.333% !important;
      height: 150px !important;
      .ThreeImgStyle {
        width: 100%;
        padding: 5px;
        // padding-bottom: 0;
        // height: 120px;
        .label {
          position: relative;
          border-radius: 10px;
          overflow: hidden;
          height: 100px;
          font-size: 10px;
          line-height: 16px;
          text-align: center;
          color: #fff;
          .leftBtm {
            width:50px;
            height:16px;
            background:linear-gradient(-90deg,rgba(255,128,0,1) 0%,rgba(255,177,1,1) 100%);
            border-radius:0px 5px 0px 5px;
            position: absolute;
            bottom: 0;
            left: 0;
          }
          .rgtTop {
            width:32px;
            height:16px;
            background:linear-gradient(-90deg,rgba(255,128,0,1) 0%,rgba(255,177,1,1) 100%);
            border-radius:0px 5px 0px 5px;
            position: absolute;
            top: 0;
            right: 0;
          }
        }
        img {
          width: 100%;
          height: 100%;
        }
      }
      .amendTitle {
        // margin-top: -5px;
        padding: 0 5px;
        width: 100%;
        color: #4C4C4C!important;
        height: 18px;
        font-size: 16px;
        line-height: 18px;
        overflow: hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
      }
      .amendPrice {
        padding: 0 5px;
        z-index: auto;
        width: 100%;
        height: 16px;
        line-height: 16px;
        text-align: left!important;
      }
      .font10 {
        font-size: 12px;
        color: rgb(238, 131, 9);
      }
      .font8 {
        font-size: 10px;
        color: #8C8C8C;
      }
    }
  }
}
</style>
